<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>

<div class="ftitle">车辆信息</div>
<sf:form method="post" modelAttribute="car" id="car_form">
	<table style="margin: 0 auto;">
		<tbody>
			<tr>
				<td>卡号:</td>
				<td><sf:input path="card.number" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>车牌号:</td>
				<td><sf:input path="license" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>车主手机:</td>
				<td><sf:input path="masterPhone" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>车主姓名:</td>
				<td><sf:input path="masterName" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>所属机构:</td>
				<td><sf:input path="organization.id"
						cssClass="easyui-combotree"
						data-options="url:'organization/list',method:'get',valueField:'id',textField:'name',required:true" /></td>
			</tr>

		</tbody>
	</table>
</sf:form>
<hr>
<a href="javascript:saveCar();" class="easyui-linkbutton"
	data-options="iconCls:'icon-save'" style="float: left;">保存</a>
<a href="javascript:$('#car_win').window('close');"
	class="easyui-linkbutton" data-options="iconCls:'icon-save'"
	style="float: right;">取消</a>
